import { S } from '../../s';
import { IPSDEDQCustomCondition } from './ipsdedqcustom-condition';
import { PSModelObjectImpl } from '../../psmodel-object-impl';

export class PSDEDQCustomConditionImpl
  extends PSModelObjectImpl
  implements IPSDEDQCustomCondition
{
  get condOp(): string {
    return this.M.condOp;
  }

  get condType(): 'GROUP' | 'SINGLE' | 'CUSTOM' | 'PREDEFINED' {
    return this.M.condType;
  }

  get condition(): string {
    return this.M.condition;
  }
  get cls(): string {
    return 'PSDEDQCustomConditionImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._3a0) return true;
    return super.instanceof(cls);
  }
}
